package com.aizuda.encrypt.service;

import com.aizuda.encrypt.entity.TableRule;
import org.springframework.core.env.Environment;

import java.util.Map;

/**
 * 读取远程配置服务
 *
 * @author nn200433
 * @date 2024-03-27 10:45:01
 */
public interface ReadRemoteConfigService {

    /**
     * 获取配置
     *
     * @param env 环境变量
     * @return {@link Map }<{@link String }, {@link TableRule }>
     * @author nn200433
     */
    public Map<String, TableRule> getCfg(Environment env);

}
